<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script>
	function showPlan(){
	document.getElementById("showplan").innerHTML 
	= "";
	
	}
	</script>
  </head>
  
  <body>
  	<h2>[ 일정관리 ]</h2>
    <table>
    <tbody>
    <tr>
    	<s:if test="#session.loginid == null">
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/memberJoinForm.action"/>">회원가입</a></td>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/memberLoginForm.action"/>">로그인</a></td>
    	</s:if>
    	<s:else>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/memberLogout.action"/>">로그아웃</a></td>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/member/memberEditForm.action"/>">개인정보수정</a></td>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/plan/planRecent.action"/>">다가온일정</a></td>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/plan/planWriteForm.action"/>">일정등록</a></td>
    	<td align="center" style="width: 150; background-color: efefef;">
    	<a href="<s:url value="/plan/planMonthly.action"/>">월별보기</a></td>
    	<td align="center" style="width: 150; background-color: efefef;">
		<a href="<s:url value="/plan/planDaily.action"/>">일별보기</a></td>
    	</s:else>
    </tr>
    </tbody>
    </table>
  </body>
</html>
